const express = require('express');
const bodyParser = require('body-parser');
// const router = express.Router();
// const path = require('path');
const homeRouter = require('./routes/home')
const app = express();
app.use(bodyParser.urlencoded({extended:false}));
app.use(bodyParser.join());

// app.use('/static', express.static(path.join(__dirname, 'public')))

app.use(homeRouter);
app.listen(9527, ()=>{
  console.log( 'start at port 9527' );
})
